<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>我的经验值 - 社交平台</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome 图标 -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
    
    <style>
        :root {
            --primary: #5b7bdf;
            --primary-dark: #4a67c7;
            --secondary: #ff9e3d;
            --success: #36c172;
            --danger: #f55252;
            --text-primary: #1d2129;
            --text-secondary: #4e5969;
            --text-tertiary: #86909c;
            --bg-light: #f2f3f5;
            --bg-white: #ffffff;
            --border-light: #e5e6eb;
            --radius: 10px;
            --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: var(--bg-light);
            color: var(--text-primary);
            padding-top: 56px;
            padding-bottom: 60px;
        }
        
        /* 顶部导航 */
        .top-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 56px;
            background-color: var(--primary);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 16px;
            z-index: 1000;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .nav-title {
            font-size: 18px;
            font-weight: 600;
            color: white;
            text-align: center;
            flex: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .nav-btn {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: none;
            border: none;
            color: white;
            font-size: 20px;
        }
        
        /* 用户等级卡片 */
        .level-card {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            border-radius: var(--radius);
            padding: 20px 16px;
            margin: 16px;
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
            text-align: center;
        }
        
        .level-card::before {
            content: '';
            position: absolute;
            top: -30px;
            right: -30px;
            width: 120px;
            height: 120px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }
        
        .level-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.2);
            margin: 0 auto 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            position: relative;
            z-index: 1;
        }
        
        .user-level {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 5px;
            position: relative;
            z-index: 1;
        }
        
        .level-name {
            font-size: 16px;
            opacity: 0.9;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }
        
        /* 经验值进度 */
        .exp-progress-container {
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            height: 8px;
            margin-bottom: 8px;
            overflow: hidden;
            position: relative;
            z-index: 1;
        }
        
        .exp-progress {
            background-color: var(--secondary);
            height: 100%;
            border-radius: 10px;
            width: 68%;
        }
        
        .exp-text {
            font-size: 13px;
            opacity: 0.9;
            position: relative;
            z-index: 1;
        }
        
        /* 等级特权 */
        .section {
            background-color: var(--bg-white);
            border-radius: var(--radius);
            margin: 0 16px 16px;
            overflow: hidden;
            box-shadow: var(--shadow);
        }
        
        .section-header {
            padding: 15px 16px;
            border-bottom: 1px solid var(--border-light);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .section-title {
            font-size: 16px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .section-more {
            font-size: 13px;
            color: var(--text-tertiary);
            text-decoration: none;
        }
        
        /* 等级特权列表 */
        .privilege-list {
            padding: 10px 0;
        }
        
        .privilege-item {
            padding: 15px 16px;
            display: flex;
            align-items: center;
            border-bottom: 1px solid var(--border-light);
        }
        
        .privilege-item:last-child {
            border-bottom: none;
        }
        
        .privilege-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            margin-right: 15px;
        }
        
        .privilege-active {
            background-color: rgba(91, 123, 223, 0.1);
            color: var(--primary);
        }
        
        .privilege-locked {
            background-color: var(--bg-light);
            color: var(--text-tertiary);
        }
        
        .privilege-details {
            flex: 1;
        }
        
        .privilege-title {
            font-size: 15px;
            font-weight: 500;
            margin-bottom: 3px;
        }
        
        .privilege-desc {
            font-size: 12px;
            color: var(--text-tertiary);
        }
        
        .privilege-tag {
            font-size: 12px;
            padding: 2px 8px;
            border-radius: 10px;
            background-color: var(--bg-light);
            color: var(--text-tertiary);
        }
        
        /* 经验值任务 */
        .exp-task-list {
            padding: 10px 0;
        }
        
        .exp-task-item {
            padding: 12px 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border-light);
        }
        
        .exp-task-item:last-child {
            border-bottom: none;
        }
        
        .task-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .task-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            background-color: rgba(91, 123, 223, 0.1);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
        }
        
        .task-details {
            flex: 1;
        }
        
        .task-title {
            font-size: 15px;
            font-weight: 500;
            margin-bottom: 2px;
        }
        
        .task-desc {
            font-size: 12px;
            color: var(--text-tertiary);
        }
        
        .task-action {
            font-size: 14px;
            padding: 5px 12px;
            border-radius: 15px;
            font-weight: 500;
        }
        
        .task-complete {
            background-color: var(--bg-light);
            color: var(--text-tertiary);
            border: none;
        }
        
        .task-do {
            background-color: var(--primary);
            color: white;
            border: none;
        }
        
        /* 经验值记录 */
        .exp-record-list {
            max-height: 250px;
            overflow-y: auto;
        }
        
        .exp-record-item {
            padding: 14px 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border-light);
        }
        
        .exp-record-item:last-child {
            border-bottom: none;
        }
        
        .record-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .record-icon {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            background-color: rgba(54, 193, 114, 0.1);
            color: var(--success);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }
        
        .record-details {
            flex: 1;
        }
        
        .record-title {
            font-size: 15px;
            margin-bottom: 2px;
        }
        
        .record-time {
            font-size: 12px;
            color: var(--text-tertiary);
        }
        
        .record-exp {
            font-size: 15px;
            font-weight: 500;
            color: var(--success);
        }
        
        /* 等级进度展示 */
        .level-progress {
            padding: 16px;
        }
        
        .level-track {
            position: relative;
            margin: 30px 0;
            padding: 0 10px;
        }
        
        .level-line {
            position: absolute;
            top: 15px;
            left: 30px;
            right: 30px;
            height: 3px;
            background-color: var(--border-light);
            z-index: 1;
        }
        
        .level-line-active {
            position: absolute;
            top: 15px;
            left: 30px;
            height: 3px;
            background-color: var(--primary);
            z-index: 2;
            width: 55%;
        }
        
        .level-markers {
            display: flex;
            justify-content: space-between;
            position: relative;
            z-index: 3;
        }
        
        .level-marker {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 30px;
        }
        
        .marker-dot {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background-color: var(--bg-white);
            border: 3px solid var(--border-light);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 8px;
        }
        
        .marker-dot.active {
            background-color: var(--primary);
            border-color: var(--primary);
            color: white;
        }
        
        .marker-dot.locked {
            background-color: var(--bg-light);
        }
        
        .marker-level {
            font-size: 11px;
            color: var(--text-tertiary);
        }
        
        .marker-dot.active + .marker-level {
            color: var(--primary);
            font-weight: 500;
        }
        
        /* 底部导航 */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            background-color: var(--bg-white);
            display: flex;
            justify-content: space-around;
            align-items: center;
            border-top: 1px solid var(--border-light);
            z-index: 1000;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--text-tertiary);
            font-size: 11px;
            gap: 4px;
            text-decoration: none;
            flex: 1;
        }
        
        .nav-item.active {
            color: var(--primary);
        }
        
        .nav-icon {
            font-size: 20px;
        }
        
        /* 提示消息 */
        .toast {
            position: fixed;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 8px 16px;
            border-radius: 4px;
            z-index: 9999;
            font-size: 14px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .toast.show {
            opacity: 1;
        }
        
        /* 升级提示 */
        .level-up-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.7);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 2000;
        }
        
        .level-up-modal.active {
            display: flex;
        }
        
        .modal-content {
            background-color: white;
            border-radius: var(--radius);
            padding: 25px 20px;
            text-align: center;
            width: 85%;
            max-width: 350px;
            position: relative;
            animation: popIn 0.3s ease;
        }
        
        @keyframes popIn {
            0% { transform: scale(0.8); opacity: 0; }
            80% { transform: scale(1.05); }
            100% { transform: scale(1); opacity: 1; }
        }
        
        .modal-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            margin: 0 auto 15px;
        }
        
        .modal-title {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 10px;
        }
        
        .modal-desc {
            font-size: 14px;
            color: var(--text-secondary);
            margin-bottom: 20px;
        }
        
        .new-privilege {
            background-color: var(--bg-light);
            border-radius: 8px;
            padding: 10px;
            margin-bottom: 20px;
            text-align: left;
        }
        
        .privilege-heading {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 5px;
            color: var(--primary);
        }
        
        .privilege-list-item {
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 3px;
        }
        
        .modal-btn {
            background-color: var(--primary);
            color: white;
            border: none;
            border-radius: 20px;
            padding: 8px 0;
            width: 100%;
            font-weight: 500;
            font-size: 15px;
        }
    </style>
</head>
<body>
    <!-- 顶部导航 -->
    <div class="top-nav">
        <button class="nav-btn" id="backBtn">
            <i class="fas fa-arrow-left"></i>
        </button>
        <div class="nav-title">我的经验值</div>
        <button class="nav-btn" id="levelRulesBtn">
            <i class="fas fa-info-circle"></i>
        </button>
    </div>
    
    <!-- 用户等级卡片 -->
    <div class="level-card">
        <div class="level-icon">
            <i class="fas fa-star"></i>
        </div>
        <div class="user-level">Lv.6</div>
        <div class="level-name">进阶达人</div>
        <div class="exp-progress-container">
            <div class="exp-progress"></div>
        </div>
        <div class="exp-text">当前经验值: 680/1000 (距离下一级还需320经验)</div>
    </div>
    
    <!-- 等级进度 -->
    <div class="section">
        <div class="section-header">
            <div class="section-title">
                <i class="fas fa-route" style="color: var(--primary);"></i>
                等级进度
            </div>
        </div>
        <div class="level-progress">
            <div class="level-track">
                <div class="level-line"></div>
                <div class="level-line-active"></div>
                <div class="level-markers">
                    <div class="level-marker">
                        <div class="marker-dot active">1</div>
                        <div class="marker-level">新手上路</div>
                    </div>
                    <div class="level-marker">
                        <div class="marker-dot active">2</div>
                        <div class="marker-level">探索者</div>
                    </div>
                    <div class="level-marker">
                        <div class="marker-dot active">3</div>
                        <div class="marker-level">进阶者</div>
                    </div>
                    <div class="level-marker">
                        <div class="marker-dot active">4</div>
                        <div class="marker-level">践行者</div>
                    </div>
                    <div class="level-marker">
                        <div class="marker-dot active">5</div>
                        <div class="marker-level">资深者</div>
                    </div>
                    <div class="level-marker">
                        <div class="marker-dot active">6</div>
                        <div class="marker-level">进阶达人</div>
                    </div>
                    <div class="level-marker">
                        <div class="marker-dot locked">7</div>
                        <div class="marker-level">精英达人</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 等级特权 -->
    <div class="section">
        <div class="section-header">
            <div class="section-title">
                <i class="fas fa-crown" style="color: var(--secondary);"></i>
                等级特权
            </div>
            <a href="#" class="section-more">全部特权</a>
        </div>
        <div class="privilege-list">
            <div class="privilege-item">
                <div class="privilege-icon privilege-active">
                    <i class="fas fa-comment-alt"></i>
                </div>
                <div class="privilege-details">
                    <div class="privilege-title">评论图片权限</div>
                    <div class="privilege-desc">发表评论时可附带图片</div>
                </div>
                <span class="privilege-tag">已解锁</span>
            </div>
            <div class="privilege-item">
                <div class="privilege-icon privilege-active">
                    <i class="fas fa-badge-check"></i>
                </div>
                <div class="privilege-details">
                    <div class="privilege-title">专属身份标识</div>
                    <div class="privilege-desc">个人主页显示特殊标识</div>
                </div>
                <span class="privilege-tag">已解锁</span>
            </div>
            <div class="privilege-item">
                <div class="privilege-icon privilege-locked">
                    <i class="fas fa-shield-alt"></i>
                </div>
                <div class="privilege-details">
                    <div class="privilege-title">内容优先审核</div>
                    <div class="privilege-desc">发布内容审核速度提升50%</div>
                </div>
                <span class="privilege-tag">Lv.7解锁</span>
            </div>
            <div class="privilege-item">
                <div class="privilege-icon privilege-locked">
                    <i class="fas fa-gift"></i>
                </div>
                <div class="privilege-details">
                    <div class="privilege-title">月度专属礼包</div>
                    <div class="privilege-desc">每月可领取专属福利礼包</div>
                </div>
                <span class="privilege-tag">Lv.8解锁</span>
            </div>
        </div>
    </div>
    
    <!-- 经验值任务 -->
    <div class="section">
        <div class="section-header">
            <div class="section-title">
                <i class="fas fa-tasks" style="color: var(--success);"></i>
                赚取经验值
            </div>
            <a href="#" class="section-more">更多任务</a>
        </div>
        <div class="exp-task-list">
            <div class="exp-task-item">
                <div class="task-info">
                    <div class="task-icon">
                        <i class="fas fa-user-check"></i>
                    </div>
                    <div class="task-details">
                        <div class="task-title">每日登录</div>
                        <div class="task-desc">连续登录可获得额外经验</div>
                    </div>
                </div>
                <button class="task-action task-do" data-task="每日登录">+5经验</button>
            </div>
            <div class="exp-task-item">
                <div class="task-info">
                    <div class="task-icon">
                        <i class="fas fa-pen-fancy"></i>
                    </div>
                    <div class="task-details">
                        <div class="task-title">发布内容</div>
                        <div class="task-desc">发布1篇原创内容</div>
                    </div>
                </div>
                <button class="task-action task-do" data-task="发布内容">+20经验</button>
            </div>
            <div class="exp-task-item">
                <div class="task-info">
                    <div class="task-icon">
                        <i class="fas fa-heart"></i>
                    </div>
                    <div class="task-details">
                        <div class="task-title">内容互动</div>
                        <div class="task-desc">点赞或评论10次</div>
                    </div>
                </div>
                <button class="task-action task-complete">已完成</button>
            </div>
            <div class="exp-task-item">
                <div class="task-info">
                    <div class="task-icon">
                        <i class="fas fa-users"></i>
                    </div>
                    <div class="task-details">
                        <div class="task-title">加入社群</div>
                        <div class="task-desc">加入并活跃于3个社群</div>
                    </div>
                </div>
                <button class="task-action task-do" data-task="加入社群">+50经验</button>
            </div>
        </div>
    </div>
    
    <!-- 经验值记录 -->
    <div class="section">
        <div class="section-header">
            <div class="section-title">
                <i class="fas fa-history" style="color: var(--primary);"></i>
                经验值记录
            </div>
        </div>
        <div class="exp-record-list">
            <div class="exp-record-item">
                <div class="record-info">
                    <div class="record-icon">
                        <i class="fas fa-heart"></i>
                    </div>
                    <div class="record-details">
                        <div class="record-title">内容互动奖励</div>
                        <div class="record-time">今天 09:45</div>
                    </div>
                </div>
                <div class="record-exp">+15</div>
            </div>
            <div class="exp-record-item">
                <div class="record-info">
                    <div class="record-icon">
                        <i class="fas fa-user-check"></i>
                    </div>
                    <div class="record-details">
                        <div class="record-title">连续登录奖励</div>
                        <div class="record-time">昨天 08:12</div>
                    </div>
                </div>
                <div class="record-exp">+8</div>
            </div>
            <div class="exp-record-item">
                <div class="record-info">
                    <div class="record-icon">
                        <i class="fas fa-pen-fancy"></i>
                    </div>
                    <div class="record-details">
                        <div class="record-title">发布原创内容</div>
                        <div class="record-time">昨天 16:30</div>
                    </div>
                </div>
                <div class="record-exp">+20</div>
            </div>
            <div class="exp-record-item">
                <div class="record-info">
                    <div class="record-icon">
                        <i class="fas fa-comment-alt"></i>
                    </div>
                    <div class="record-details">
                        <div class="record-title">优质评论奖励</div>
                        <div class="record-time">2023-06-20 14:25</div>
                    </div>
                </div>
                <div class="record-exp">+10</div>
            </div>
            <div class="exp-record-item">
                <div class="record-info">
                    <div class="record-icon">
                        <i class="fas fa-trophy"></i>
                    </div>
                    <div class="record-details">
                        <div class="record-title">周活跃度排名奖励</div>
                        <div class="record-time">2023-06-18 00:00</div>
                    </div>
                </div>
                <div class="record-exp">+50</div>
            </div>
        </div>
    </div>
    
    <!-- 底部导航 -->
    <div class="bottom-nav">
        <a href="#" class="nav-item">
            <i class="fas fa-home nav-icon"></i>
            <span>首页</span>
        </a>
        <a href="#" class="nav-item">
            <i class="fas fa-compass nav-icon"></i>
            <span>发现</span>
        </a>
        <a href="#" class="nav-item active">
            <i class="fas fa-medal nav-icon"></i>
            <span>等级</span>
        </a>
        <a href="#" class="nav-item">
            <i class="fas fa-user nav-icon"></i>
            <span>我的</span>
        </a>
    </div>
    
    <!-- 升级提示弹窗 -->
    <div class="level-up-modal" id="levelUpModal">
        <div class="modal-content">
            <div class="modal-icon">
                <i class="fas fa-trophy"></i>
            </div>
            <div class="modal-title">恭喜升级！</div>
            <div class="modal-desc">您已升级至 Lv.7 精英达人</div>
            <div class="new-privilege">
                <div class="privilege-heading">解锁新特权：</div>
                <div class="privilege-list-item">
                    <i class="fas fa-check" style="color: var(--success); font-size: 12px;"></i>
                    <span>内容优先审核权限</span>
                </div>
                <div class="privilege-list-item">
                    <i class="fas fa-check" style="color: var(--success); font-size: 12px;"></i>
                    <span>每周可发布5条置顶内容</span>
                </div>
            </div>
            <button class="modal-btn" id="closeModal">确认</button>
        </div>
    </div>
    
    <!-- 提示消息 -->
    <div class="toast" id="toast"></div>
    
    <!-- Bootstrap JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        // DOM元素
        const backBtn = document.getElementById('backBtn');
        const levelRulesBtn = document.getElementById('levelRulesBtn');
        const taskButtons = document.querySelectorAll('.task-do');
        const toast = document.getElementById('toast');
        const expProgress = document.querySelector('.exp-progress');
        const expText = document.querySelector('.exp-text');
        const userLevel = document.querySelector('.user-level');
        const levelUpModal = document.getElementById('levelUpModal');
        const closeModal = document.getElementById('closeModal');
        
        // 当前经验值数据
        let currentExp = 680;
        const maxExp = 1000;
        let currentLevel = 6;
        
        // 显示提示消息
        function showToast(message) {
            toast.textContent = message;
            toast.classList.add('show');
            
            clearTimeout(toast.timeout);
            toast.timeout = setTimeout(() => {
                toast.classList.remove('show');
            }, 2000);
        }
        
        // 更新经验值显示
        function updateExpDisplay() {
            const percentage = (currentExp / maxExp) * 100;
            expProgress.style.width = `${percentage}%`;
            
            const remainingExp = maxExp - currentExp;
            expText.textContent = `当前经验值: ${currentExp}/${maxExp} (距离下一级还需${remainingExp}经验)`;
            
            // 检查是否升级
            if (currentExp >= maxExp) {
                levelUp();
            }
        }
        
        // 等级提升处理
        function levelUp() {
            currentLevel++;
            currentExp = currentExp - maxExp;
            
            // 更新等级显示
            userLevel.textContent = `Lv.${currentLevel}`;
            
            // 显示升级弹窗
            levelUpModal.classList.add('active');
        }
        
        // 绑定事件
        function bindEvents() {
            // 返回按钮
            backBtn.addEventListener('click', () => {
                history.back();
                showToast('返回上一页');
            });
            
            // 等级规则按钮
            levelRulesBtn.addEventListener('click', () => {
                showToast('查看等级规则说明');
            });
            
            // 任务按钮点击
            taskButtons.forEach(btn => {
                btn.addEventListener('click', function() {
                    const taskName = this.getAttribute('data-task');
                    const expText = this.textContent.trim();
                    const exp = parseInt(expText);
                    
                    // 更新按钮状态为已完成
                    this.textContent = '已完成';
                    this.classList.remove('task-do');
                    this.classList.add('task-complete');
                    this.disabled = true;
                    
                    // 显示提示
                    showToast(`完成${taskName}，获得${expText}`);
                    
                    // 更新经验值
                    currentExp += exp;
                    updateExpDisplay();
                });
            });
            
            // 关闭升级弹窗
            closeModal.addEventListener('click', () => {
                levelUpModal.classList.remove('active');
                updateExpDisplay();
            });
        }
        
        // 初始化
        function init() {
            bindEvents();
        }
        
        // 启动
        init();
    </script>
</body>
</html>
